﻿using System.Collections.Generic;

namespace InstantMessenger.Transports
{
    public class OfflineTransport : ITransport
    {
        public string DisplayName { get { return "Offline"; } }

        public void Start(IEnumerable<Contact> allContacts)
        {
        }

        public void Stop()
        {
        }

        public bool DeliverMessage(string sender, string recipient, string message)
        {
            return false;
        }

        public bool IsOnline(Contact contact)
        {
            return false;
        }

        public void AddContact(Contact contact)
        {
            // Do nothing. We don't care
        }

        public void RemoveContact(Contact contact)
        {
            // Do nothing. We don't care
        }
    }
}